#!/usr/bin/python
#
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


"""Install/uninstall IE 7+ tests."""


__author__ = 'jasonstredwick@google.com (Jason Stredwick)'


import os
import shutil

from bite_build import flags


IE7_ROOT = 'ie7'
JS_ROOT = os.path.join('code', 'js')
DLL_ROOT = os.path.join('package')
TESTS_ROOT = os.path.join('tests')

DLL_NAME = 'IEBite.dll'
DLL = os.path.join(DLL_ROOT, DLL_NAME)

INSTALL = 'install'
UNINSTALL = 'uninstall'

FLAGS = {
  INSTALL: {
    flags.ACTION: 'store',
    flags.DEFAULT: None,
    flags.REQUIRED: False,
    flags.HELP: 'Install the given IE7 addon test.'
  },

  UNINSTALL: {
    flags.ACTION: 'store',
    flags.DEFAULT: None,
    flags.REQUIRED: False,
    flags.HELP: 'Uninstall the given IE7 addon test.'
  }
}
